// vite.config.ts
import { defineConfig } from "file:///D:/Roxy/sx-roxy/client/node_modules/vite/dist/node/index.js";
import react from "file:///D:/Roxy/sx-roxy/client/node_modules/@vitejs/plugin-react/dist/index.mjs";
import { resolve } from "path";
import UnoCSS from "file:///D:/Roxy/sx-roxy/client/node_modules/unocss/dist/vite.mjs";
var __vite_injected_original_dirname = "D:\\Roxy\\sx-roxy\\client";
var vite_config_default = defineConfig({
  plugins: [
    react(),
    UnoCSS()
  ],
  resolve: {
    alias: [{ find: "@", replacement: resolve(__vite_injected_original_dirname, "./src") }]
  },
  build: {
    rollupOptions: {
      treeshake: {
        moduleSideEffects: "no-external"
        // 可以帮助更积极地进行树摇
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxSb3h5XFxcXHN4LXJveHlcXFxcY2xpZW50XCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJEOlxcXFxSb3h5XFxcXHN4LXJveHlcXFxcY2xpZW50XFxcXHZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9EOi9Sb3h5L3N4LXJveHkvY2xpZW50L3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHtkZWZpbmVDb25maWd9IGZyb20gXCJ2aXRlXCI7XHJcbmltcG9ydCByZWFjdCBmcm9tIFwiQHZpdGVqcy9wbHVnaW4tcmVhY3RcIjtcclxuaW1wb3J0IHtyZXNvbHZlfSBmcm9tIFwicGF0aFwiO1xyXG5pbXBvcnQgVW5vQ1NTIGZyb20gXCJ1bm9jc3Mvdml0ZV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